package com.cskaoyan.service;

import com.cskaoyan.bean.param.WxBaseParam;
import com.cskaoyan.bean.param.WxMyCouponListParam;
import com.cskaoyan.bean.wxvo.WxCouponListVo;
import com.cskaoyan.bean.wxvo.WxCouponReceiveVo;
import com.cskaoyan.bean.wxvo.WxCouponVo;

import java.util.List;

public interface WxCouponService {

    WxCouponListVo couponList(WxBaseParam param);

    WxCouponListVo myList(WxMyCouponListParam myCouponListParam, Integer userId);

    List<WxCouponVo> selectList(Integer userId);

    WxCouponReceiveVo receiveCoupon(Integer couponId, Integer userId);

    WxCouponReceiveVo exchangeCoupon(String code, Integer userId);
}
